home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
network
/
pcmenu30.zip
/
DEMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-08-23
|
955b
|
31 lines
echo off
rem
rem Place this batch file in your PATH
rem Setup a env var specifing where the Menu script is in %menu%
rem before running this batch file.
rem This can be done here but is best done through Network Login
rem Scripts if running on a network.
rem
rem Only set, if not already set.
set pcmenu_ini=c:\pcmenu
if %menu%+==+ set menu=c:\pcmenu\brian.mnu
if %othermenu%+==+ set othermenu=c:\pcmenu\brian2.mnu
rem Some programs muck screens up, to fix run mode command
rem mode co80
rem mode mono
pcmenu %menu%
if errorlevel 1 goto exit
rem
rem Using clever arrangment of environment vars
rem you can set up exactly where you want pcmu$bat.bat file
rem to be written.
rem ie. f:%home%\pcmu$%stn%.bat
rem Also you can setup a unique var ( ie %stn% ) for each workstation
rem on a Network, then each user has his own batch file generated.
rem
rem The default is setup below
rem
cls
c:\pcmenu\pcmu$bat.bat
:exit